﻿@model MVCCricketWorldCupTrivia.Models.Game

@{
    ViewBag.Title = "End Game";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Final Scoreboard</h2>

<fieldset>
    <div class="SScoreboard">

        <div class="display-label">OppositionScore</div>
        <div class="display-field">@Model.OppositionScore</div>

        <div class="display-label">Wickets</div>
        <div class="display-field">@Model.Wickets</div>

        <div class="display-label">Runs</div>
        <div class="display-field">@Model.Runs</div>

        <div class="display-label">Overs</div>
        <div class="display-field">@Model.Overs</div>
    
    </div>
</fieldset>
<p>
    @Html.ActionLink("Back to main page","Index","Home")
</p>
@{
    //Clean up the Session because we don't want anything else now
    HttpContext.Current.Session["game"] = null;
}
